package pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class WlActivityConfigExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public WlActivityConfigExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andActivitynameIsNull() {
            addCriterion("activityName is null");
            return (Criteria) this;
        }

        public Criteria andActivitynameIsNotNull() {
            addCriterion("activityName is not null");
            return (Criteria) this;
        }

        public Criteria andActivitynameEqualTo(String value) {
            addCriterion("activityName =", value, "activityname");
            return (Criteria) this;
        }

        public Criteria andActivitynameNotEqualTo(String value) {
            addCriterion("activityName <>", value, "activityname");
            return (Criteria) this;
        }

        public Criteria andActivitynameGreaterThan(String value) {
            addCriterion("activityName >", value, "activityname");
            return (Criteria) this;
        }

        public Criteria andActivitynameGreaterThanOrEqualTo(String value) {
            addCriterion("activityName >=", value, "activityname");
            return (Criteria) this;
        }

        public Criteria andActivitynameLessThan(String value) {
            addCriterion("activityName <", value, "activityname");
            return (Criteria) this;
        }

        public Criteria andActivitynameLessThanOrEqualTo(String value) {
            addCriterion("activityName <=", value, "activityname");
            return (Criteria) this;
        }

        public Criteria andActivitynameLike(String value) {
            addCriterion("activityName like", value, "activityname");
            return (Criteria) this;
        }

        public Criteria andActivitynameNotLike(String value) {
            addCriterion("activityName not like", value, "activityname");
            return (Criteria) this;
        }

        public Criteria andActivitynameIn(List<String> values) {
            addCriterion("activityName in", values, "activityname");
            return (Criteria) this;
        }

        public Criteria andActivitynameNotIn(List<String> values) {
            addCriterion("activityName not in", values, "activityname");
            return (Criteria) this;
        }

        public Criteria andActivitynameBetween(String value1, String value2) {
            addCriterion("activityName between", value1, value2, "activityname");
            return (Criteria) this;
        }

        public Criteria andActivitynameNotBetween(String value1, String value2) {
            addCriterion("activityName not between", value1, value2, "activityname");
            return (Criteria) this;
        }

        public Criteria andActivityurlIsNull() {
            addCriterion("activityUrl is null");
            return (Criteria) this;
        }

        public Criteria andActivityurlIsNotNull() {
            addCriterion("activityUrl is not null");
            return (Criteria) this;
        }

        public Criteria andActivityurlEqualTo(String value) {
            addCriterion("activityUrl =", value, "activityurl");
            return (Criteria) this;
        }

        public Criteria andActivityurlNotEqualTo(String value) {
            addCriterion("activityUrl <>", value, "activityurl");
            return (Criteria) this;
        }

        public Criteria andActivityurlGreaterThan(String value) {
            addCriterion("activityUrl >", value, "activityurl");
            return (Criteria) this;
        }

        public Criteria andActivityurlGreaterThanOrEqualTo(String value) {
            addCriterion("activityUrl >=", value, "activityurl");
            return (Criteria) this;
        }

        public Criteria andActivityurlLessThan(String value) {
            addCriterion("activityUrl <", value, "activityurl");
            return (Criteria) this;
        }

        public Criteria andActivityurlLessThanOrEqualTo(String value) {
            addCriterion("activityUrl <=", value, "activityurl");
            return (Criteria) this;
        }

        public Criteria andActivityurlLike(String value) {
            addCriterion("activityUrl like", value, "activityurl");
            return (Criteria) this;
        }

        public Criteria andActivityurlNotLike(String value) {
            addCriterion("activityUrl not like", value, "activityurl");
            return (Criteria) this;
        }

        public Criteria andActivityurlIn(List<String> values) {
            addCriterion("activityUrl in", values, "activityurl");
            return (Criteria) this;
        }

        public Criteria andActivityurlNotIn(List<String> values) {
            addCriterion("activityUrl not in", values, "activityurl");
            return (Criteria) this;
        }

        public Criteria andActivityurlBetween(String value1, String value2) {
            addCriterion("activityUrl between", value1, value2, "activityurl");
            return (Criteria) this;
        }

        public Criteria andActivityurlNotBetween(String value1, String value2) {
            addCriterion("activityUrl not between", value1, value2, "activityurl");
            return (Criteria) this;
        }

        public Criteria andActivitysqlIsNull() {
            addCriterion("activitySql is null");
            return (Criteria) this;
        }

        public Criteria andActivitysqlIsNotNull() {
            addCriterion("activitySql is not null");
            return (Criteria) this;
        }

        public Criteria andActivitysqlEqualTo(String value) {
            addCriterion("activitySql =", value, "activitysql");
            return (Criteria) this;
        }

        public Criteria andActivitysqlNotEqualTo(String value) {
            addCriterion("activitySql <>", value, "activitysql");
            return (Criteria) this;
        }

        public Criteria andActivitysqlGreaterThan(String value) {
            addCriterion("activitySql >", value, "activitysql");
            return (Criteria) this;
        }

        public Criteria andActivitysqlGreaterThanOrEqualTo(String value) {
            addCriterion("activitySql >=", value, "activitysql");
            return (Criteria) this;
        }

        public Criteria andActivitysqlLessThan(String value) {
            addCriterion("activitySql <", value, "activitysql");
            return (Criteria) this;
        }

        public Criteria andActivitysqlLessThanOrEqualTo(String value) {
            addCriterion("activitySql <=", value, "activitysql");
            return (Criteria) this;
        }

        public Criteria andActivitysqlLike(String value) {
            addCriterion("activitySql like", value, "activitysql");
            return (Criteria) this;
        }

        public Criteria andActivitysqlNotLike(String value) {
            addCriterion("activitySql not like", value, "activitysql");
            return (Criteria) this;
        }

        public Criteria andActivitysqlIn(List<String> values) {
            addCriterion("activitySql in", values, "activitysql");
            return (Criteria) this;
        }

        public Criteria andActivitysqlNotIn(List<String> values) {
            addCriterion("activitySql not in", values, "activitysql");
            return (Criteria) this;
        }

        public Criteria andActivitysqlBetween(String value1, String value2) {
            addCriterion("activitySql between", value1, value2, "activitysql");
            return (Criteria) this;
        }

        public Criteria andActivitysqlNotBetween(String value1, String value2) {
            addCriterion("activitySql not between", value1, value2, "activitysql");
            return (Criteria) this;
        }

        public Criteria andCreateuseridIsNull() {
            addCriterion("createUserId is null");
            return (Criteria) this;
        }

        public Criteria andCreateuseridIsNotNull() {
            addCriterion("createUserId is not null");
            return (Criteria) this;
        }

        public Criteria andCreateuseridEqualTo(String value) {
            addCriterion("createUserId =", value, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridNotEqualTo(String value) {
            addCriterion("createUserId <>", value, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridGreaterThan(String value) {
            addCriterion("createUserId >", value, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridGreaterThanOrEqualTo(String value) {
            addCriterion("createUserId >=", value, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridLessThan(String value) {
            addCriterion("createUserId <", value, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridLessThanOrEqualTo(String value) {
            addCriterion("createUserId <=", value, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridLike(String value) {
            addCriterion("createUserId like", value, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridNotLike(String value) {
            addCriterion("createUserId not like", value, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridIn(List<String> values) {
            addCriterion("createUserId in", values, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridNotIn(List<String> values) {
            addCriterion("createUserId not in", values, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridBetween(String value1, String value2) {
            addCriterion("createUserId between", value1, value2, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridNotBetween(String value1, String value2) {
            addCriterion("createUserId not between", value1, value2, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("createTime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("createTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("createTime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("createTime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("createTime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("createTime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("createTime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("createTime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("createTime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("createTime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("createTime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("createTime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andUpdateuseridIsNull() {
            addCriterion("updateUserId is null");
            return (Criteria) this;
        }

        public Criteria andUpdateuseridIsNotNull() {
            addCriterion("updateUserId is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateuseridEqualTo(String value) {
            addCriterion("updateUserId =", value, "updateuserid");
            return (Criteria) this;
        }

        public Criteria andUpdateuseridNotEqualTo(String value) {
            addCriterion("updateUserId <>", value, "updateuserid");
            return (Criteria) this;
        }

        public Criteria andUpdateuseridGreaterThan(String value) {
            addCriterion("updateUserId >", value, "updateuserid");
            return (Criteria) this;
        }

        public Criteria andUpdateuseridGreaterThanOrEqualTo(String value) {
            addCriterion("updateUserId >=", value, "updateuserid");
            return (Criteria) this;
        }

        public Criteria andUpdateuseridLessThan(String value) {
            addCriterion("updateUserId <", value, "updateuserid");
            return (Criteria) this;
        }

        public Criteria andUpdateuseridLessThanOrEqualTo(String value) {
            addCriterion("updateUserId <=", value, "updateuserid");
            return (Criteria) this;
        }

        public Criteria andUpdateuseridLike(String value) {
            addCriterion("updateUserId like", value, "updateuserid");
            return (Criteria) this;
        }

        public Criteria andUpdateuseridNotLike(String value) {
            addCriterion("updateUserId not like", value, "updateuserid");
            return (Criteria) this;
        }

        public Criteria andUpdateuseridIn(List<String> values) {
            addCriterion("updateUserId in", values, "updateuserid");
            return (Criteria) this;
        }

        public Criteria andUpdateuseridNotIn(List<String> values) {
            addCriterion("updateUserId not in", values, "updateuserid");
            return (Criteria) this;
        }

        public Criteria andUpdateuseridBetween(String value1, String value2) {
            addCriterion("updateUserId between", value1, value2, "updateuserid");
            return (Criteria) this;
        }

        public Criteria andUpdateuseridNotBetween(String value1, String value2) {
            addCriterion("updateUserId not between", value1, value2, "updateuserid");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNull() {
            addCriterion("updateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNotNull() {
            addCriterion("updateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeEqualTo(Date value) {
            addCriterion("updateTime =", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotEqualTo(Date value) {
            addCriterion("updateTime <>", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThan(Date value) {
            addCriterion("updateTime >", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("updateTime >=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThan(Date value) {
            addCriterion("updateTime <", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThanOrEqualTo(Date value) {
            addCriterion("updateTime <=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIn(List<Date> values) {
            addCriterion("updateTime in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotIn(List<Date> values) {
            addCriterion("updateTime not in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeBetween(Date value1, Date value2) {
            addCriterion("updateTime between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotBetween(Date value1, Date value2) {
            addCriterion("updateTime not between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andActivityexpiredtimeIsNull() {
            addCriterion("activityExpiredTime is null");
            return (Criteria) this;
        }

        public Criteria andActivityexpiredtimeIsNotNull() {
            addCriterion("activityExpiredTime is not null");
            return (Criteria) this;
        }

        public Criteria andActivityexpiredtimeEqualTo(Date value) {
            addCriterion("activityExpiredTime =", value, "activityexpiredtime");
            return (Criteria) this;
        }

        public Criteria andActivityexpiredtimeNotEqualTo(Date value) {
            addCriterion("activityExpiredTime <>", value, "activityexpiredtime");
            return (Criteria) this;
        }

        public Criteria andActivityexpiredtimeGreaterThan(Date value) {
            addCriterion("activityExpiredTime >", value, "activityexpiredtime");
            return (Criteria) this;
        }

        public Criteria andActivityexpiredtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("activityExpiredTime >=", value, "activityexpiredtime");
            return (Criteria) this;
        }

        public Criteria andActivityexpiredtimeLessThan(Date value) {
            addCriterion("activityExpiredTime <", value, "activityexpiredtime");
            return (Criteria) this;
        }

        public Criteria andActivityexpiredtimeLessThanOrEqualTo(Date value) {
            addCriterion("activityExpiredTime <=", value, "activityexpiredtime");
            return (Criteria) this;
        }

        public Criteria andActivityexpiredtimeIn(List<Date> values) {
            addCriterion("activityExpiredTime in", values, "activityexpiredtime");
            return (Criteria) this;
        }

        public Criteria andActivityexpiredtimeNotIn(List<Date> values) {
            addCriterion("activityExpiredTime not in", values, "activityexpiredtime");
            return (Criteria) this;
        }

        public Criteria andActivityexpiredtimeBetween(Date value1, Date value2) {
            addCriterion("activityExpiredTime between", value1, value2, "activityexpiredtime");
            return (Criteria) this;
        }

        public Criteria andActivityexpiredtimeNotBetween(Date value1, Date value2) {
            addCriterion("activityExpiredTime not between", value1, value2, "activityexpiredtime");
            return (Criteria) this;
        }

        public Criteria andActivitytypeIsNull() {
            addCriterion("activityType is null");
            return (Criteria) this;
        }

        public Criteria andActivitytypeIsNotNull() {
            addCriterion("activityType is not null");
            return (Criteria) this;
        }

        public Criteria andActivitytypeEqualTo(Integer value) {
            addCriterion("activityType =", value, "activitytype");
            return (Criteria) this;
        }

        public Criteria andActivitytypeNotEqualTo(Integer value) {
            addCriterion("activityType <>", value, "activitytype");
            return (Criteria) this;
        }

        public Criteria andActivitytypeGreaterThan(Integer value) {
            addCriterion("activityType >", value, "activitytype");
            return (Criteria) this;
        }

        public Criteria andActivitytypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("activityType >=", value, "activitytype");
            return (Criteria) this;
        }

        public Criteria andActivitytypeLessThan(Integer value) {
            addCriterion("activityType <", value, "activitytype");
            return (Criteria) this;
        }

        public Criteria andActivitytypeLessThanOrEqualTo(Integer value) {
            addCriterion("activityType <=", value, "activitytype");
            return (Criteria) this;
        }

        public Criteria andActivitytypeIn(List<Integer> values) {
            addCriterion("activityType in", values, "activitytype");
            return (Criteria) this;
        }

        public Criteria andActivitytypeNotIn(List<Integer> values) {
            addCriterion("activityType not in", values, "activitytype");
            return (Criteria) this;
        }

        public Criteria andActivitytypeBetween(Integer value1, Integer value2) {
            addCriterion("activityType between", value1, value2, "activitytype");
            return (Criteria) this;
        }

        public Criteria andActivitytypeNotBetween(Integer value1, Integer value2) {
            addCriterion("activityType not between", value1, value2, "activitytype");
            return (Criteria) this;
        }

        public Criteria andActivityimageurlIsNull() {
            addCriterion("activityImageUrl is null");
            return (Criteria) this;
        }

        public Criteria andActivityimageurlIsNotNull() {
            addCriterion("activityImageUrl is not null");
            return (Criteria) this;
        }

        public Criteria andActivityimageurlEqualTo(String value) {
            addCriterion("activityImageUrl =", value, "activityimageurl");
            return (Criteria) this;
        }

        public Criteria andActivityimageurlNotEqualTo(String value) {
            addCriterion("activityImageUrl <>", value, "activityimageurl");
            return (Criteria) this;
        }

        public Criteria andActivityimageurlGreaterThan(String value) {
            addCriterion("activityImageUrl >", value, "activityimageurl");
            return (Criteria) this;
        }

        public Criteria andActivityimageurlGreaterThanOrEqualTo(String value) {
            addCriterion("activityImageUrl >=", value, "activityimageurl");
            return (Criteria) this;
        }

        public Criteria andActivityimageurlLessThan(String value) {
            addCriterion("activityImageUrl <", value, "activityimageurl");
            return (Criteria) this;
        }

        public Criteria andActivityimageurlLessThanOrEqualTo(String value) {
            addCriterion("activityImageUrl <=", value, "activityimageurl");
            return (Criteria) this;
        }

        public Criteria andActivityimageurlLike(String value) {
            addCriterion("activityImageUrl like", value, "activityimageurl");
            return (Criteria) this;
        }

        public Criteria andActivityimageurlNotLike(String value) {
            addCriterion("activityImageUrl not like", value, "activityimageurl");
            return (Criteria) this;
        }

        public Criteria andActivityimageurlIn(List<String> values) {
            addCriterion("activityImageUrl in", values, "activityimageurl");
            return (Criteria) this;
        }

        public Criteria andActivityimageurlNotIn(List<String> values) {
            addCriterion("activityImageUrl not in", values, "activityimageurl");
            return (Criteria) this;
        }

        public Criteria andActivityimageurlBetween(String value1, String value2) {
            addCriterion("activityImageUrl between", value1, value2, "activityimageurl");
            return (Criteria) this;
        }

        public Criteria andActivityimageurlNotBetween(String value1, String value2) {
            addCriterion("activityImageUrl not between", value1, value2, "activityimageurl");
            return (Criteria) this;
        }

        public Criteria andBackgroundcolorIsNull() {
            addCriterion("backgroundColor is null");
            return (Criteria) this;
        }

        public Criteria andBackgroundcolorIsNotNull() {
            addCriterion("backgroundColor is not null");
            return (Criteria) this;
        }

        public Criteria andBackgroundcolorEqualTo(String value) {
            addCriterion("backgroundColor =", value, "backgroundcolor");
            return (Criteria) this;
        }

        public Criteria andBackgroundcolorNotEqualTo(String value) {
            addCriterion("backgroundColor <>", value, "backgroundcolor");
            return (Criteria) this;
        }

        public Criteria andBackgroundcolorGreaterThan(String value) {
            addCriterion("backgroundColor >", value, "backgroundcolor");
            return (Criteria) this;
        }

        public Criteria andBackgroundcolorGreaterThanOrEqualTo(String value) {
            addCriterion("backgroundColor >=", value, "backgroundcolor");
            return (Criteria) this;
        }

        public Criteria andBackgroundcolorLessThan(String value) {
            addCriterion("backgroundColor <", value, "backgroundcolor");
            return (Criteria) this;
        }

        public Criteria andBackgroundcolorLessThanOrEqualTo(String value) {
            addCriterion("backgroundColor <=", value, "backgroundcolor");
            return (Criteria) this;
        }

        public Criteria andBackgroundcolorLike(String value) {
            addCriterion("backgroundColor like", value, "backgroundcolor");
            return (Criteria) this;
        }

        public Criteria andBackgroundcolorNotLike(String value) {
            addCriterion("backgroundColor not like", value, "backgroundcolor");
            return (Criteria) this;
        }

        public Criteria andBackgroundcolorIn(List<String> values) {
            addCriterion("backgroundColor in", values, "backgroundcolor");
            return (Criteria) this;
        }

        public Criteria andBackgroundcolorNotIn(List<String> values) {
            addCriterion("backgroundColor not in", values, "backgroundcolor");
            return (Criteria) this;
        }

        public Criteria andBackgroundcolorBetween(String value1, String value2) {
            addCriterion("backgroundColor between", value1, value2, "backgroundcolor");
            return (Criteria) this;
        }

        public Criteria andBackgroundcolorNotBetween(String value1, String value2) {
            addCriterion("backgroundColor not between", value1, value2, "backgroundcolor");
            return (Criteria) this;
        }

        public Criteria andAdtypeIsNull() {
            addCriterion("adType is null");
            return (Criteria) this;
        }

        public Criteria andAdtypeIsNotNull() {
            addCriterion("adType is not null");
            return (Criteria) this;
        }

        public Criteria andAdtypeEqualTo(Integer value) {
            addCriterion("adType =", value, "adtype");
            return (Criteria) this;
        }

        public Criteria andAdtypeNotEqualTo(Integer value) {
            addCriterion("adType <>", value, "adtype");
            return (Criteria) this;
        }

        public Criteria andAdtypeGreaterThan(Integer value) {
            addCriterion("adType >", value, "adtype");
            return (Criteria) this;
        }

        public Criteria andAdtypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("adType >=", value, "adtype");
            return (Criteria) this;
        }

        public Criteria andAdtypeLessThan(Integer value) {
            addCriterion("adType <", value, "adtype");
            return (Criteria) this;
        }

        public Criteria andAdtypeLessThanOrEqualTo(Integer value) {
            addCriterion("adType <=", value, "adtype");
            return (Criteria) this;
        }

        public Criteria andAdtypeIn(List<Integer> values) {
            addCriterion("adType in", values, "adtype");
            return (Criteria) this;
        }

        public Criteria andAdtypeNotIn(List<Integer> values) {
            addCriterion("adType not in", values, "adtype");
            return (Criteria) this;
        }

        public Criteria andAdtypeBetween(Integer value1, Integer value2) {
            addCriterion("adType between", value1, value2, "adtype");
            return (Criteria) this;
        }

        public Criteria andAdtypeNotBetween(Integer value1, Integer value2) {
            addCriterion("adType not between", value1, value2, "adtype");
            return (Criteria) this;
        }

        public Criteria andAdsqlIsNull() {
            addCriterion("adSql is null");
            return (Criteria) this;
        }

        public Criteria andAdsqlIsNotNull() {
            addCriterion("adSql is not null");
            return (Criteria) this;
        }

        public Criteria andAdsqlEqualTo(String value) {
            addCriterion("adSql =", value, "adsql");
            return (Criteria) this;
        }

        public Criteria andAdsqlNotEqualTo(String value) {
            addCriterion("adSql <>", value, "adsql");
            return (Criteria) this;
        }

        public Criteria andAdsqlGreaterThan(String value) {
            addCriterion("adSql >", value, "adsql");
            return (Criteria) this;
        }

        public Criteria andAdsqlGreaterThanOrEqualTo(String value) {
            addCriterion("adSql >=", value, "adsql");
            return (Criteria) this;
        }

        public Criteria andAdsqlLessThan(String value) {
            addCriterion("adSql <", value, "adsql");
            return (Criteria) this;
        }

        public Criteria andAdsqlLessThanOrEqualTo(String value) {
            addCriterion("adSql <=", value, "adsql");
            return (Criteria) this;
        }

        public Criteria andAdsqlLike(String value) {
            addCriterion("adSql like", value, "adsql");
            return (Criteria) this;
        }

        public Criteria andAdsqlNotLike(String value) {
            addCriterion("adSql not like", value, "adsql");
            return (Criteria) this;
        }

        public Criteria andAdsqlIn(List<String> values) {
            addCriterion("adSql in", values, "adsql");
            return (Criteria) this;
        }

        public Criteria andAdsqlNotIn(List<String> values) {
            addCriterion("adSql not in", values, "adsql");
            return (Criteria) this;
        }

        public Criteria andAdsqlBetween(String value1, String value2) {
            addCriterion("adSql between", value1, value2, "adsql");
            return (Criteria) this;
        }

        public Criteria andAdsqlNotBetween(String value1, String value2) {
            addCriterion("adSql not between", value1, value2, "adsql");
            return (Criteria) this;
        }

        public Criteria andSharetitleIsNull() {
            addCriterion("shareTitle is null");
            return (Criteria) this;
        }

        public Criteria andSharetitleIsNotNull() {
            addCriterion("shareTitle is not null");
            return (Criteria) this;
        }

        public Criteria andSharetitleEqualTo(String value) {
            addCriterion("shareTitle =", value, "sharetitle");
            return (Criteria) this;
        }

        public Criteria andSharetitleNotEqualTo(String value) {
            addCriterion("shareTitle <>", value, "sharetitle");
            return (Criteria) this;
        }

        public Criteria andSharetitleGreaterThan(String value) {
            addCriterion("shareTitle >", value, "sharetitle");
            return (Criteria) this;
        }

        public Criteria andSharetitleGreaterThanOrEqualTo(String value) {
            addCriterion("shareTitle >=", value, "sharetitle");
            return (Criteria) this;
        }

        public Criteria andSharetitleLessThan(String value) {
            addCriterion("shareTitle <", value, "sharetitle");
            return (Criteria) this;
        }

        public Criteria andSharetitleLessThanOrEqualTo(String value) {
            addCriterion("shareTitle <=", value, "sharetitle");
            return (Criteria) this;
        }

        public Criteria andSharetitleLike(String value) {
            addCriterion("shareTitle like", value, "sharetitle");
            return (Criteria) this;
        }

        public Criteria andSharetitleNotLike(String value) {
            addCriterion("shareTitle not like", value, "sharetitle");
            return (Criteria) this;
        }

        public Criteria andSharetitleIn(List<String> values) {
            addCriterion("shareTitle in", values, "sharetitle");
            return (Criteria) this;
        }

        public Criteria andSharetitleNotIn(List<String> values) {
            addCriterion("shareTitle not in", values, "sharetitle");
            return (Criteria) this;
        }

        public Criteria andSharetitleBetween(String value1, String value2) {
            addCriterion("shareTitle between", value1, value2, "sharetitle");
            return (Criteria) this;
        }

        public Criteria andSharetitleNotBetween(String value1, String value2) {
            addCriterion("shareTitle not between", value1, value2, "sharetitle");
            return (Criteria) this;
        }

        public Criteria andSharetextIsNull() {
            addCriterion("shareText is null");
            return (Criteria) this;
        }

        public Criteria andSharetextIsNotNull() {
            addCriterion("shareText is not null");
            return (Criteria) this;
        }

        public Criteria andSharetextEqualTo(String value) {
            addCriterion("shareText =", value, "sharetext");
            return (Criteria) this;
        }

        public Criteria andSharetextNotEqualTo(String value) {
            addCriterion("shareText <>", value, "sharetext");
            return (Criteria) this;
        }

        public Criteria andSharetextGreaterThan(String value) {
            addCriterion("shareText >", value, "sharetext");
            return (Criteria) this;
        }

        public Criteria andSharetextGreaterThanOrEqualTo(String value) {
            addCriterion("shareText >=", value, "sharetext");
            return (Criteria) this;
        }

        public Criteria andSharetextLessThan(String value) {
            addCriterion("shareText <", value, "sharetext");
            return (Criteria) this;
        }

        public Criteria andSharetextLessThanOrEqualTo(String value) {
            addCriterion("shareText <=", value, "sharetext");
            return (Criteria) this;
        }

        public Criteria andSharetextLike(String value) {
            addCriterion("shareText like", value, "sharetext");
            return (Criteria) this;
        }

        public Criteria andSharetextNotLike(String value) {
            addCriterion("shareText not like", value, "sharetext");
            return (Criteria) this;
        }

        public Criteria andSharetextIn(List<String> values) {
            addCriterion("shareText in", values, "sharetext");
            return (Criteria) this;
        }

        public Criteria andSharetextNotIn(List<String> values) {
            addCriterion("shareText not in", values, "sharetext");
            return (Criteria) this;
        }

        public Criteria andSharetextBetween(String value1, String value2) {
            addCriterion("shareText between", value1, value2, "sharetext");
            return (Criteria) this;
        }

        public Criteria andSharetextNotBetween(String value1, String value2) {
            addCriterion("shareText not between", value1, value2, "sharetext");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}